home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 56194 / 56194.xpi / chrome / topsite.jar / content / toolbarView.xul < prev   
Extensible Markup Language  |  2010-01-03  |  4KB  |  74 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet type="text/css" href="chrome://topsite/content/css/toolbarView.css"?>
  5.  
  6.  
  7.  
  8. <!DOCTYPE page SYSTEM "chrome://topsite/locale/topsite.dtd">
  9.  
  10. <overlay id="topsite_toolbar_view"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     xmlns:xbl="http://www.mozilla.org/xbl">
  13.  
  14.     <!-- Include the javascript code -->
  15.     <script type="application/x-javascript" src="chrome://topsite/content/js/common.js" />
  16.     <script type="application/x-javascript" src="chrome://topsite/content/js/view.js" />
  17.     <script type="application/x-javascript" src="chrome://topsite/content/js/toolbarView.js" />
  18.     
  19.     <toolbox id="navigator-toolbox">
  20.           <toolbar 
  21.             customizable="false"
  22.             id="topsite"
  23.             toolbarname="TopSite Toolbar"
  24.             class="chromeclass-toolbar"
  25.             iconsize="small"
  26.             context="toolbar-context-menu"
  27.             >
  28.             <toolbarbutton type="menu" image="chrome://topsite/content/images/TopSite_Logo.png">                
  29.                 <menupopup>
  30.                     <menuitem label="&homepage;" class="menuitem-iconic" image="chrome://topsite/content/images/Icon_Home.png" oncommand="topsite.overlay.openUrlInBrowser('http://www.topsite.com/');"/>
  31.                     <menu label="&ourproducts;" class="menu-iconic" image="chrome://topsite/content/images/Icon_Products.png">
  32.                     <menupopup>                        
  33.                         <menuitem label="SimilarWeb" class="menuitem-iconic" image="chrome://topsite/content/images/sw.ico" oncommand="topsite.overlay.openUrlInBrowser('http://www.similarweb.com/');"/>
  34.                         <menuitem label="SearchHelper" class="menuitem-iconic" image="chrome://topsite/content/images/sh.ico" oncommand="topsite.overlay.openUrlInBrowser('http://www.searchelper.com/');"/>
  35.                         <menuitem label="SimilarSites" class="menuitem-iconic" image="chrome://topsite/content/images/s.ico" oncommand="topsite.overlay.openUrlInBrowser('http://www.similarsites.com/');"/>
  36.                         <menuitem label="SimilarStumble" class="menuitem-iconic" image="chrome://topsite/content/images/stmbl.ico" oncommand="topsite.overlay.openUrlInBrowser('http://www.similarstumble.com/');"/>
  37.                     </menupopup>
  38.                     </menu>
  39.                     <menuseparator/>
  40. <!--                    <menuitem label="&help;" class="menuitem-iconic" image="chrome://topsite/content/images/Icon_Help.png" oncommand="topsite.overlay.openUrlInBrowser('http://www.topsite.com/help');"/>-->
  41.                     <menuitem label="&contactus;" class="menuitem-iconic" image="chrome://topsite/content/images/Icon_Contact.png" oncommand="topsite.overlay.openUrlInBrowser('http://www.topsite.com/contact-us.htm');"/>
  42.                     <menuitem label="&about;" class="menuitem-iconic" image="chrome://topsite/content/images/Icon_About.png" onclick="window.openDialog('chrome://topsite/content/about.xul', 'TopSite - About', 'centerscreen,chrome,modal,resizable=yes', '0');"/>
  43.                 </menupopup>
  44.             </toolbarbutton>
  45.             <toolbaritem>
  46.                 <textbox id="topsiteSearchBox" onkeypress="topsite.common.keyHandler(event);" />
  47.             </toolbaritem>
  48.             <toolbarbutton image="chrome://topsite/content/images/Search_B.png" label="&find;" oncommand="topsite.overlay.findTopSite();"/>
  49.             <toolbarseparator collapsed="true"/>    
  50.             <hbox id="topsiteTopicsContainer" flex="1" style="overflow:hidden;"/>        
  51.             <toolbarbutton type="menu" class="chevron" mousethrough="never"
  52.  collapsed="true"
  53.  tooltiptext="&chevron.tooltip;"
  54.  chromedir="&locale.dir;">
  55.  
  56.                       <menupopup anonid="chevronPopup" xbl:inherits="tooltip"/>
  57.  
  58.                 </toolbarbutton>
  59.           </toolbar>
  60.     </toolbox>
  61.  
  62.     <popupset id="mainPopupSet">
  63.         <menupopup id="topSitePopup4Topic">
  64.             <hbox id="topSitePopup4TopicTitle" class="titleTopSitePopup">
  65.                 <label value=""/>
  66.             </hbox>
  67.             <vbox align="right" id="topSitePopup4TopicFooter" class="footerTopSitePopup">
  68.                 <label value="&popup.more;"/>
  69.             </vbox>
  70.         </menupopup>
  71.     </popupset>
  72.     
  73. </overlay>
  74.